﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PaperPluginUtilities;

namespace t_PaperPluginUtilities
{
    [TestClass]
    public class t_General
    {
        [TestMethod]
        public void TestRemoveImageInfo()
        {
            Assert.AreEqual("This", "This[png]".RemoveImageReferences(), "Didn't remove the [png]");
            Assert.AreEqual("This", "This[.png]".RemoveImageReferences(), "Didn't remove the [png]");
            Assert.AreEqual("This", "This [png]".RemoveImageReferences(), "Didn't remove the [png]");
        }
    }
}
